#include <iostream>
#include <fstream>
#include<string>
using namespace std;

int main () {
	float total = 0;
	float numberOfNums = 0;
	float num = 0;
	ifstream File ("Input.txt");
	if (File.is_open())
	{
		while ( File.good() )
		{

			File>>num;
			
			cout << num << " \t"<<total<<" + "<<num<<" = ";	
			total+=num;
		cout<<total<<"\t Line Number \t"<<++numberOfNums<<endl;

		}
		cout<<"AVEARGE : " <<total/numberOfNums<<endl;
		File.close();
	}

	else cout << "Unable to open file"; 

	return 0;
}